package com.scorpio.scbasics.bizuser.dto;

import com.scorpio.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.scorpio.common.annotation.Excel;
import java.util.Date;

/**
 * 【请填写功能名称】对象 biz_user
 *
 * @author scorpio
 * @date 2020-10-13
 */
@Data
@TableName("biz_user")
public class BizUserDTO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long user_id;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobile;

    /** 密码 */
    @Excel(name = "密码")
    private String pwd;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 性别 */
    @Excel(name = "性别")
    private Long sex;

    /** 头像 */
    @Excel(name = "头像")
    private String picture;

    /** 年龄 */
    @Excel(name = "年龄")
    private String age;

    /** 星座 */
    @Excel(name = "星座")
    private String constellation;

    /** 生日 */
    @Excel(name = "生日")
    private String birthday;

    /** 外键-职业表ID  */
    @Excel(name = "外键-职业表ID ")
    private Long occupations_id;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechat;

    /** 我的用户资料是否隐藏微信号 */
    @Excel(name = "我的用户资料是否隐藏微信号")
    private Long hide_wechat;

    /** 身高 */
    @Excel(name = "身高")
    private Long height_id;

    /** 体重 */
    @Excel(name = "体重")
    private Long weight_id;

    /** 个人介绍 */
    @Excel(name = "个人介绍")
    private String description;

    /** $column.columnComment */
    @Excel(name = "个人介绍")
    private Long is_goddess;

    /** 是否真人认证 */
    @Excel(name = "是否真人认证")
    private Long is_true;

    /** $column.columnComment */
    @Excel(name = "是否真人认证")
    private Long is_lianmai;

    /** $column.columnComment */
    @Excel(name = "是否真人认证")
    private Long is_vip;

    /** $column.columnComment */
    @Excel(name = "是否真人认证")
    private Long hide_distance;

    /** $column.columnComment */
    @Excel(name = "是否真人认证")
    private Long online;

    /** $column.columnComment */
    @Excel(name = "是否真人认证")
    private String last_online_time;

    /** 邀请码 */
    @Excel(name = "邀请码")
    private String invite_code;

    /** $column.columnComment */
    @Excel(name = "邀请码")
    private String my_invite_code;

    /** $column.columnComment */
    @Excel(name = "邀请码")
    private String token;

    /** $column.columnComment */
    @Excel(name = "邀请码")
    private String best_frame;

    /** 注册时的状态 */
    @Excel(name = "注册时的状态")
    private Long status;

    /** 用户是否有效 */
    @Excel(name = "用户是否有效")
    private Long is_valid;

    /** 创建时间 */
    private Date create_time;

    /** 最后修改时间 */
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastupdate_time;

    private String occupat_name;

    private String height_name;

    private String weight_name;

    private String memo_name;

    private String lng;

    private String lat;

    private String location_city;

    private String distance;

    private Integer total;

    private String formatted_address;




    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getUser_id())
            .append("mobile", getMobile())
            .append("pwd", getPwd())
            .append("nickname", getNickname())
            .append("sex", getSex())
            .append("picture", getPicture())
            .append("age", getAge())
            .append("constellation", getConstellation())
            .append("birthday", getBirthday())
            .append("occupations_id", getOccupations_id())
            .append("wechat", getWechat())
            .append("hide_wechat", getHide_wechat())
            .append("height_id", getHeight_id())
            .append("weight_id", getWeight_id())
            .append("description", getDescription())
            .append("is_goddess", getIs_goddess())
            .append("is_true", getIs_true())
            .append("is_lianmai", getIs_lianmai())
            .append("is_vip", getIs_vip())
            .append("hide_distance", getHide_distance())
            .append("online", getOnline())
            .append("last_online_time", getLast_online_time())
            .append("invite_code", getInvite_code())
            .append("my_invite_code", getMy_invite_code())
            .append("token", getToken())
            .append("best_frame", getBest_frame())
            .append("status", getStatus())
            .append("is_valid", getIs_valid())
            .append("create_time", getCreate_time())
            .append("lastupdate_time", getLastupdate_time())
            .toString();
    }
}
